package com.itheima.entity;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;

@Data
// 指定所对应得表
@Table(name = "tab_user")
public class User {
    @Id
    private Integer id;
    private String username;
    private String password;
}
